package com.nosnow.gmall.bean;


import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * @类名称：SkuImage
 * @类描述：库存单元图片表
 * @author: bingHeng
 * @Date
 * @Version: 1.0
 */
@Data
public class SkuImage implements Serializable {

    /**主键Id*/
    @Id
    @Column
    private Long id;

    /**商品id*/
    @Column
    private Long skuId;

    /**图片名称（冗余）*/
    @Column
    private String imgName;

    /**图片路径(冗余)*/
    @Column
    private String imgUrl;

    /**商品图片id*/
    @Column
    private Long spuImgId;

    /**是否默认*/
    @Column
    private String isDefault;
}
